Process read-symbol-shorthands from longest to shortest (bug#67390)
authorJoão Távora <joaotavora@gmail.com>
Thu, 30 Nov 2023 12:00:38 +0000 (06:00 -0600)
committerJoão Távora <joaotavora@gmail.com>
Sat, 3 Feb 2024 14:40:03 +0000 (08:40 -0600)
commitc2aaa8f15aa8fb3415a6c9f421f539ee34b7f52c
tree6781e8418876b56b3159c495100c8d98e24b7d96
parent5e4a0a29fa3562ce9b2b8e497c6e71e6bc169082
Process read-symbol-shorthands from longest to shortest (bug#67390)

This ensures that overlapping shorthands are handled correctly and
consistently even if specified out-of-order by the user.

* doc/lispref/symbols.texi (Shorthands): Describe shorthand sort
order.

* lisp/files.el (hack-local-variables--find-variables): Specially
handle read-symbol-shorthands.
doc/lispref/symbols.texi
lisp/files.el